package com.zjbbkj.baibai.domain.orders;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * @program: springboot
 * @author: Mr.WanLi
 * @create: 2020-04-23 10:47
 **/
@Data
@TableName("baibai_orders")
public class Orders implements Serializable {

    @Id
    private int id;

    @TableField("order_id")
    private String orderId;

    /**
     * 设备订单号
     */
    @TableField("order_num")
    private String orderNum;
    /**
     * 端口号集合
     */
    @TableField("order_port")
    private String orderPort;
    /**
     * 充电时长
     */
    @TableField("order_times")
    private Integer orderTimes;
    /**
     * 充电金额
     */
    @TableField("order_price")
    private Double orderPrice;

    /**
     * 祈福姓名
     */
    @TableField("order_pray_name")
    private String orderPrayName;
    /**
     * 祈福语句
     */
    @TableField("order_prayComment")
    private String orderPrayComment;
    /**
     * 订单状态   0 未支付  1已支付
     */
    @TableField("order_status")
    private String orderStatus;
    /**
     * 支付方式  ZFB/WX
     */
    @TableField("order_type")
    private String orderType;
    /**
     * 订单添加时间
     */
    @TableField("order_addtime")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date orderAddtime;

    /**
     * 订单对应设备id
     */
    @TableField("order_device_id")
    private String orderDeviceId;
    /**
     * 订单对应设备IMEIID
     */
    @TableField("order_device_imeiid")
    private String orderDeviceImeiid;
    /**
     * 服务商ID
     */
    @TableField("order_facilitator_id")
    private String orderFacilitatorId;

    /**
     * 渠道商ID
     */
    @TableField("order_agency_id")
    private String orderAgencyId;
    /**
     * 寺庙id
     */
    @TableField("order_temple_id")
    private String orderTempleId;
    /**
     * 香客ID
     */
    @TableField("order_user_id")
    private String orderUserId;
    /**
     * 订单当前状态
     */
    @TableField("order_current_status")
    private String orderCurrentStatus;
    /**
     * 套餐ID
     */
    @TableField("order_combo_id")
    private Integer orderComboId;
    /**
     * 香客唯一标识OPENID
     */
    @TableField("order_open_id")
    private String orderOpenId;
    /**
     * 硬件反馈状态码
     */
    @TableField("order_code")
    private String orderCode;
    /**
     * 状态码说明
     */
    @TableField("order_explain")
    private String orderExplain;
    /**
     * 是否删除该数据 0为删除
     */
    @TableField("order_delete_status")
    private Integer oderDeleteStatus;
}
